<{include file="header.html"}>

<{include file="library/form.html"}>

<{include file="sidebar-menu.html"}>

<!--main-container-part-->
<div id="content">

    <{include file="breadcrumbs.html"}>

    <div class="container-fluid">
        <hr>
        <div class="row-fluid">
            <div class="span10">
                <form action="<{$saveurl}>" method="post" class="form-horizontal zxform zxblockui">
                    <input type="hidden" name="id" value="<{$id}>" />
                    <div class="widget-box">
                        <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                            <h5><{if $info_rs.id}>修改<{else}>添加<{/if}>学生</h5>
                        </div>
                        <div class="widget-content nopadding">
                            <div class="control-group">
                                <label class="control-label">账号 :</label>
                                <div class="controls">
                                    <input type="text" name="account" class="span5" value="<{$info_rs.account}>">
                                </div>
                            </div>
							<div class="control-group">
							    <label class="control-label">密码 :</label>
							    <div class="controls">
							        <input type="password" name="password" class="span5" value="">
                                    <{if $info_rs}>
                                    (不填写则不修改)
                                    <{/if}>
							    </div>
							</div>
                            <div class="control-group">
                                <label class="control-label">姓名 :</label>
                                <div class="controls">
                                    <input type="text" name="student_name" class="span5" readonly value="<{$info_rs.student_name}>">
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label">年级 :</label>
                                <div class="controls">
                                    <input type="text" name="gradename" class="span5" readonly value="<{$info_rs.gradename}>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">班级 :</label>
                                <div class="controls">
                                    <input type="text" name="classname" class="span5" readonly value="<{$info_rs.classname}>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">电话 :</label>
                                <div class="controls">
                                    <input type="text" name="phone" class="span5" readonly value="<{$info_rs.phone}>">
                                </div>
                            </div>
							<div class="control-group">
							    <label class="control-label">状态 :</label>	
							    <div class="controls textlabel">	
								  <label>
									  <input type="radio" name="status" value="1" <{if !$info_rs || $info_rs.status == '1'}>checked<{/if}> />正常
								  </label>
							        <label>
							            <input type="radio" name="status" value="0" <{if $info_rs.status eq '0'}>checked<{/if}>/>关闭
							        </label>
							        
							    </div>
							</div>
                        </div>
                    </div>
              
                    <div class="form-actions">
                        <button type="submit" class="btn btn-success">保存</button>
                        <button type="button" onclick="window.location.href = '<{$BACKURL}>'"
                                class="btn form_button_left">返回
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<!--end-main-container-part-->

<{include file="footer.html"}>